﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using MhAdmin.Application.Services.Students.Dto;
using MhAdmin.System.Entity;

namespace MhAdmin.Application.Services.Students
{   
    public interface IStudentServices : ITransient
    {
        /// <summary>
        /// 添加
        /// </summary>
        /// <param name="input"></param>
        /// <returns></returns>
        Task Add(StudentAddInput input);
        /// <summary>
        /// 显示了
        /// </summary>
        /// <param name="input"></param>
        /// <returns></returns>
        Task<SqlSugarPagedList<Student>> Page(PageStudentInput input);
        /// <summary>
        /// 删除了了
        /// </summary>
        /// <param name="student"></param>
        /// <returns></returns>
        Task Delete(List<DeleteStudent> student);
        /// <summary>
        /// 修改
        /// </summary>
        /// <param name="edit"></param>
        /// <returns></returns>
        Task Edit(EditStudent edit);
        /// <summary>
        /// 根据单条显示
        /// </summary>
        /// <param name="student"></param>
        /// <returns></returns>
        Task<Student> GetStudentById(DeleteStudent student);
    }
}
